package com.enzoism.springboot.dive.common;

public class StringUtil {
    public static boolean isEmpty(String str){
        return (str==null || str.trim().length()==0);
    }

    public boolean isEmptyOrNot(String str){
        return testEmptyOrNot(str);
    }

    private boolean testEmptyOrNot(String str){
        return (str==null || str.trim().length()==0);
    }

}
